home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / man / cat3 / XmStringHasSubstring.z / XmStringHasSubstring
Encoding:
Text File  |  2003-11-18  |  2.5 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmSSSSttttrrrriiiinnnnggggHHHHaaaassssSSSSuuuubbbbssssttttrrrriiiinnnngggg((((3333XXXX))))  UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV  XXXXmmmmSSSSttttrrrriiiinnnnggggHHHHaaaassssSSSSuuuubbbbssssttttrrrriiiinnnngggg((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       _X_m_S_t_r_i_n_g_H_a_s_S_u_b_s_t_r_i_n_g - A compound string function that
  10.       indicates whether one    compound string    is contained within
  11.       another
  12.  
  13.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  14.       #include <Xm/Xm.h>
  15.  
  16.       Boolean XmStringHasSubstring (ssssttttrrrriiiinnnngggg,,,,    ssssuuuubbbbssssttttrrrriiiinnnngggg)
  17.            _X_m_S_t_r_i_n_g     ssssttttrrrriiiinnnngggg;
  18.            _X_m_S_t_r_i_n_g     ssssuuuubbbbssssttttrrrriiiinnnngggg;
  19.  
  20.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  21.       _X_m_S_t_r_i_n_g_H_a_s_S_u_b_s_t_r_i_n_g indicates whether or not    one compound
  22.       string is contained within another.
  23.  
  24.       ssssttttrrrriiiinnnngggg
  25.            Specifies the compound string to    be searched
  26.  
  27.       ssssuuuubbbbssssttttrrrriiiinnnngggg
  28.            Specifies the compound string to    be searched for
  29.  
  30.      RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
  31.       Returns True if ssssuuuubbbbssssttttrrrriiiinnnngggg has    a single segment and if    its
  32.       text is completely contained within any single segment of
  33.       ssssttttrrrriiiinnnngggg; otherwise, returns False.  If    two compound strings
  34.       created using    _X_m_S_t_r_i_n_g_C_r_e_a_t_e_L_o_c_a_l_i_z_e_d    in the same language
  35.       environment satisfy this condition, the function returns
  36.       True.     If two    compound strings created with the same
  37.       character set    using _X_m_S_t_r_i_n_g_C_r_e_a_t_e satisfy this condition,
  38.       the function returns True.
  39.  
  40.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  41.       _X_m_S_t_r_i_n_g_C_r_e_a_t_e(_3_X) and _X_m_S_t_r_i_n_g_C_r_e_a_t_e_L_o_c_a_l_i_z_e_d(_3_X).
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 11/11/03)
  64.  
  65.  
  66.  
  67.